package demo2;

public class Cat extends Animal{
    public Cat(String name,int age){
        super(name,age);
    }

    public void eat(){
        System.out.println(name + "吃鱼~~~");
    }
}
